package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 剧场资源
 * </p>
 *
 * @author author
 * @since 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_theater_movie")
@ApiModel(value="GeConTheaterMovie对象", description="剧场资源")
public class GeConTheaterMovie implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "封面")
    private String picture;

    @ApiModelProperty(value = "类型(1:喜剧，2：恐怖，3：科幻，4：纪录,5：爱情，6：动作,7：动画，8：剧情，9：犯罪，10：战争)")
    private String type;

    @ApiModelProperty(value = "时长")
    private String duration;

    @ApiModelProperty(value = "导演")
    private String director;

    @ApiModelProperty(value = "简介")
    private String introduce;

    @ApiModelProperty(value = "是否置顶（0：否，1：是）")
    private Integer isTop;

    @ApiModelProperty(value = "状态(0:待审核，1：已审核，2：审核失败，3：已发布，4：未提交)")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    private String isDelete;
}
